package cn.wen.yaling.xo.service;

import cn.wen.yaling.commons.entity.SysDictTypeEntity;
import cn.wen.yaling.commons.entity.SysParamsEntity;
import cn.wen.yaling.commons.utils.ResultEntity;
import cn.wen.yaling.commons.vo.SysDictTypeAddVO;
import cn.wen.yaling.commons.vo.SysDictTypeUpdateVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 
 *
 * @author FY
 * @email 932043654@qq.com
 * @date 2022-08-13 02:07:36
 */
public interface SysDictTypeService extends IService<SysDictTypeEntity> {

    /**
     * 添加字典管理
     * @param sysDictTypeAddVO
     * @return
     */
    ResultEntity addSysDictType(SysDictTypeAddVO sysDictTypeAddVO);

    /**
     * 获取字典类型的列表信息
     * @return
     */
    ResultEntity getDictTypeList();

    /**
     * 查询字典类型的列表信息
     * @param dictName
     * @param dictType
     * @return
     */
    ResultEntity searchDictType(String dictName, String dictType);

    /**
     * 修改字典类型的数据
     * @param sysDictTypeUpdateVO
     * @return
     */
    ResultEntity editDictType(SysDictTypeUpdateVO sysDictTypeUpdateVO);

    /**
     * 批量删除字典类型的数据通过Ids
     * @param dictTypeIds
     * @return
     */
    ResultEntity deleteBatchDictType(List<Integer> dictTypeIds);

    /**
     * 获取字典类型的数据
     * @return
     */
    ResultEntity getSimpleDictTypeList();

}

